// **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************

// Ice version 3.2.1

package ru.fizteh.fivt.JobProcessor;

public class _ProcessorTie extends _ProcessorDisp implements Ice.TieBase
{
    public
    _ProcessorTie()
    {
    }

    public
    _ProcessorTie(_ProcessorOperations delegate)
    {
        _ice_delegate = delegate;
    }

    public java.lang.Object
    ice_delegate()
    {
        return _ice_delegate;
    }

    public void
    ice_delegate(java.lang.Object delegate)
    {
        _ice_delegate = (_ProcessorOperations)delegate;
    }

    public boolean
    equals(java.lang.Object rhs)
    {
        if(this == rhs)
        {
            return true;
        }
        if(!(rhs instanceof _ProcessorTie))
        {
            return false;
        }

        return _ice_delegate.equals(((_ProcessorTie)rhs)._ice_delegate);
    }

    public int
    hashCode()
    {
        return _ice_delegate.hashCode();
    }

    public void
    cancelJob(String id, Ice.Current __current)
        throws UnknownJobIdException
    {
        _ice_delegate.cancelJob(id, __current);
    }

    public JobPrx
    getJob(Problem theProblem, Ice.Current __current)
        throws TooManyJobsException
    {
        return _ice_delegate.getJob(theProblem, __current);
    }

    public JobInfo
    getJobInfo(String id, Ice.Current __current)
        throws UnknownJobIdException
    {
        return _ice_delegate.getJobInfo(id, __current);
    }

    public Parameter[]
    getJobResult(String id, Ice.Current __current)
        throws JobException,
               NotReadyException,
               UnknownJobIdException
    {
        return _ice_delegate.getJobResult(id, __current);
    }

    public String
    getJobStatus(String id, Ice.Current __current)
        throws UnknownJobIdException
    {
        return _ice_delegate.getJobStatus(id, __current);
    }

    public java.util.Map<java.lang.String, JobInfo>
    getListOfJobs(Ice.Current __current)
    {
        return _ice_delegate.getListOfJobs(__current);
    }

    public java.util.Map<java.lang.String, java.lang.String>
    getProperties(Ice.Current __current)
    {
        return _ice_delegate.getProperties(__current);
    }

    public java.util.Map<java.lang.String, java.lang.String>
    getSliceChecksums(Ice.Current __current)
    {
        return _ice_delegate.getSliceChecksums(__current);
    }

    public Parameter[]
    solve(Problem theProblem, Ice.Current __current)
        throws JobException,
               TooManyJobsException
    {
        return _ice_delegate.solve(theProblem, __current);
    }

    public String
    submitProblem(String problemName, Parameter[] inParams, Ice.Current __current)
        throws TooManyJobsException
    {
        return _ice_delegate.submitProblem(problemName, inParams, __current);
    }

    private _ProcessorOperations _ice_delegate;
}
